package com.joyveb.webtest;

import org.springframework.web.context.request.NativeWebRequest;

import com.joyveb.lbos.restful.common.WebRestException;
import com.joyveb.lbos.restful.spring.ChecksumValidInterface;

public class CheckManager implements ChecksumValidInterface{

	@Override
	public boolean valid(NativeWebRequest webRequest, String body) {
		System.out.println(body);
		return false;
	}

	@Override
	public void failedHandler() {
		throw new WebRestException("error");
	}

}
